package com.example.wechatdaka.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2020-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lx_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 用户编号
     */
    @TableField("lxUserNumber")
    private String lxUserNumber;

    /**
     * 用户名
     */
    @TableField("lxUsername")
    private String lxUsername;

    /**
     * 用户密码
     */
    @TableField("lxUserPassword")
    private String lxUserPassword;

    /**
     * 性别
     */
    @TableField("lxUserSex")
    private Integer lxUserSex;

    /**
     * 手机号
     */
    @TableField("lxUserPhone")
    private String lxUserPhone;

    /**
     * 邮箱
     */
    @TableField("lxUserEmail")
    private String lxUserEmail;

    /**
     * 角色id
     */
    @TableField("lxRoleId")
    private String lxRoleId;

    @TableField(exist = false)
    private String lxUserId;

}
